package com.csyaonie.kotlin

open class Person {
    var name=""
    var age=0
    fun eat(){
        println(name+" is eating");
    }
}

fun main(){
    var p=Person()
    var s=Student("090811437",3)
    p.name="jack"
    p.age=19
    s.name="roy"
    s.age=18
    p.eat()
    s.eat()
    s.readBooks()
}